<%-- 
    Document   : upload
    Created on : 24/11/2011, 00:37:37
    Author     : samuel
--%>

<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html" %>
<%@taglib uri="http://struts.apache.org/tags-bean" prefix="bean"%>
<%@taglib uri="http://struts.apache.org/tags-logic" prefix="logic"%>
<html:html>
    <head>
        <title>Upload de Arquivos</title>
    </head>
    <html:errors />
    <logic:messagesPresent message="true">  
        <ul><span>    
                <html:messages id="message" message="true">  
                    <logic:present name="message">  
                        <bean:write name="message"/>                          
                    </logic:present>  
                </html:messages></span>  
        </ul>  
    </logic:messagesPresent>  

    <html:form action="/upload.do" enctype="multipart/form-data">
        Selecione o Arquivo:<html:file property="myFile"/>
        <html:submit value="OK"/>
    </html:form>
        <a href="Index.do">voltar</a>
</html:html>
